<?php  
/**
* 
*/
class SuperAdminController extends CI_Controller
{
	
	function __construct()
	{
		parent::__construct();
		$this->load->model('superAdmin_model');
	}

	public function index(){
		$this->load->view("include/header");
		$this->load->view("SuperAdmin/index");
		$this->load->view("include/footer");
	}

	public function queryDatabase(){
		if($this->input->post('editor')){
			$data['rsQuery'] = $this->superAdmin_model->query($this->input->post('editor'));

			$this->load->view("include/header");
			$this->load->view("SuperAdmin/index",$data);
			$this->load->view("include/footer");

		}else{

		}
		
	}


}
?>